//
//  ZPAuthEngine.h
//  ZPIOSEducation
//
//  Created by mini1 on 2017/1/9.
//  Copyright © 2017年 mini1. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ZPAuthEngine : NSObject
{
    
}

ZPSingletonH(ZPAuthEngine) // 声明单例

-(NSInteger)currentUserId;
-(BOOL)isValid;
-(void)registerAndSign;



/**
 *  使用用户名和密码重登录
 *
 *  @param name     用户名
 *  @param password 密码
 */
//- (void)loginWithUsername:(NSString*)name password:(NSString*)password success:(void(^)(NSMutableDictionary *userInfoDic))success failure:(void(^)(NSString* error))failure;
@end
